<?php
Authenticate::requireTechnic();
try {
	$products = Product::get();
	$packages = Package::getPackages();
	View::display('accounting/product', array('packages'=> $packages, 'products'=> $products));
} catch(Exception $ex) {
	View::display('error', array('message'=> $ex));
	Log::error($ex);
}